//
//  ZFCommentTableViewCell.m
//  外星球生活圈
//
//  Created by apple on 15/8/17.
//  Copyright (c) 2015年 MR.ZHOU. All rights reserved.
//

#import "ZFCommentTableViewCell.h"

@interface ZFCommentTableViewCell ()

//星星uiimageView
@property (weak, nonatomic) IBOutlet UIImageView *judge;
//评论框
@property (weak, nonatomic) IBOutlet UITextView *commentTextView;
//一星评价点击事件
- (IBAction)oneButton:(id)sender;
//二星评价点击事件
- (IBAction)twoButton:(id)sender;
//三星评价点击事件
- (IBAction)threeButton:(id)sender;
//四星评价点击事件
- (IBAction)fourButton:(id)sender;
//五星评价点击事件
- (IBAction)fiveButton:(id)sender;

@end
@implementation ZFCommentTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)oneButton:(id)sender {
    _judge.image = [UIImage imageNamed:@"star_1"];
}

- (IBAction)twoButton:(id)sender {
        _judge.image = [UIImage imageNamed:@"star_2"];
}

- (IBAction)threeButton:(id)sender {
        _judge.image = [UIImage imageNamed:@"star_3"];
}

- (IBAction)fourButton:(id)sender {
        _judge.image = [UIImage imageNamed:@"star_4"];
}

- (IBAction)fiveButton:(id)sender {
        _judge.image = [UIImage imageNamed:@"star_5"];
}
@end
